import React from 'react';
import { connect } from 'dva';
import styles from './Index.css';
import ClassComponent from '../../components/Class/index'
function Index(props) {
  return (
    <div className={styles.normal}>
      <ClassComponent {...props} />
    </div>
  );
}

function mapStateToProps(state) {
  return {
    indexInfo:state.index
  };
}

export default connect(mapStateToProps)(Index);
